package com.orange.modules.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "t_auth_item")
@Entity
public class AuthItem {

	private String pid;
	private String content;//内容
	private String fid;//父ID 一级指标父  ID为0
	private String type;//0:一级指标  1：二级指标   2：二级指标 细则 
	private String number;//序号
	private String createtime;//创建时间
	private String major;//专业
	private String standards;//认证标准
	
	private String flag;//0 ：未选择   1:已选择
	private String level;//等级
	private String state;//材料评审--填写指标状态0:未填写  1：已填写未提交 2：已提交
	private String mainProblem;//主要问题
	private String expertId;//专家id
	private String expertName;//专家姓名 
	private String review;//专家组评议
	private String isfollow;//建议结论

	private List<AuthItem> list;//
	
	@Transient
	public String getIsfollow() {
		return isfollow;
	}
	public void setIsfollow(String isfollow) {
		this.isfollow = isfollow;
	}
	@Transient
	public String getExpertId() {
		return expertId;
	}
	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}
	@Transient
	public String getReview() {
		return review;
	}
	public void setReview(String review) {
		this.review = review;
	}
	@Transient
	public String getExpertName() {
		return expertName;
	}
	public void setExpertName(String expertName) {
		this.expertName = expertName;
	}
	@Transient
	public String getMainProblem() {
		return mainProblem;
	}
	public void setMainProblem(String mainProblem) {
		this.mainProblem = mainProblem;
	}
	@Transient
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Transient
	public List<AuthItem> getList() {
		return list;
	}
	public void setList(List<AuthItem> list) {
		this.list = list;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_content",length=255)
	public String getContent() {
		return content;
	}
	@Column(name = "f_id",length=255)
	public String getFid() {
		return fid;
	}
	@Column(name = "s_type",length=255)
	public String getType() {
		return type;
	}
	@Column(name = "s_number",length=255)
	public String getNumber() {
		return number;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreatetime() {
		return createtime;
	}
	@Column(name = "s_major",length=20)
	public String getMajor() {
		return major;
	}
	@Column(name = "s_standards",length=1024)
	public String getStandards() {
		return standards;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setFid(String fid) {
		this.fid = fid;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public void setStandards(String standards) {
		this.standards = standards;
	}
	@Transient
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}

	@Transient
	public String getFlag() {
		return flag;
	}
	/**
	 * @param flag the flag to set
	 */
	public void setFlag(String flag) {
		this.flag = flag;
	}
	
	
	
	
}
